<?php if(App\Components\MenuTools::isShowMenu(['/admin/list','/admin/role/list','/admin/limit/list','/admin/action/list','/admin/config/create','/admin/config/third'
,'/admin/message/list','/admin/industry/list'])): ?>
<?php if((isset($admin_tree_menu) && $admin_tree_menu) || (isset($admin_role_tree_menu) && $admin_role_tree_menu) 
|| (isset($admin_limit_tree_menu) && $admin_limit_tree_menu) || (isset($admin_action_tree_menu) && $admin_action_tree_menu)
|| (isset($admin_config_menu) && $admin_config_menu) || (isset($admin_message_menu) && $admin_message_menu) || (isset($admin_config_third) && $admin_config_third)
 || (isset($admin_config_inquiry) && $admin_config_inquiry)|| (isset($admin_industry_menu) && $admin_industry_menu)): ?>
<li class="active treeview">
  <?php else: ?>
<li class="treeview">
  <?php endif; ?>
  <a href="#"><i class="fa fa-laptop"></i> <span>权限管理</span>
    <span class="pull-right-container">
      <i class="fa fa-angle-left pull-right"></i>
    </span>
  </a>
  <ul class="treeview-menu">
    <?php if(App\Components\MenuTools::isShowMenu(['/admin/config/create'])): ?>
    <li <?php if((isset($admin_config_menu) && $admin_config_menu)): ?>class="active" <?php endif; ?>><a href="/admin/config/create"><i class="fa fa-circle-o"></i>基础配置</a></li>
    <?php endif; ?>
    <?php if(App\Components\MenuTools::isShowMenu(['/admin/config/third'])): ?>
    <li <?php if((isset($admin_config_third) && $admin_config_third)): ?>class="active" <?php endif; ?>><a href="/admin/config/third"><i class="fa fa-circle-o"></i>第三方配置</a></li>
    <?php endif; ?>
    <?php if(App\Components\MenuTools::isShowMenu(['/admin/config/third'])): ?>
    <li <?php if((isset($admin_config_inquiry) && $admin_config_inquiry)): ?>class="active" <?php endif; ?>><a href="/admin/config/inquiry"><i class="fa fa-circle-o"></i>询盘配置</a></li>
    <?php endif; ?>
    <?php if(App\Components\MenuTools::isShowMenu(['/admin/list'])): ?>
    <li <?php if((isset($admin_tree_menu) && $admin_tree_menu)): ?>class="active" <?php endif; ?>><a href="/admin/list"><i class="fa fa-circle-o"></i>管理员列表</a></li>
    <?php endif; ?>
    <?php if(App\Components\MenuTools::isShowMenu(['/admin/role/list'])): ?>
    <li <?php if((isset($admin_role_tree_menu) && $admin_role_tree_menu)): ?>class="active" <?php endif; ?>><a href="/admin/role/list"><i class="fa fa-circle-o"></i>角色配置</a></li>
    <?php endif; ?>
    <?php if(App\Components\MenuTools::isShowMenu(['/admin/limit/list'])): ?>
    <li <?php if((isset($admin_limit_tree_menu) && $admin_limit_tree_menu)): ?>class="active" <?php endif; ?>><a href="/admin/limit/list"><i class="fa fa-circle-o"></i>权限配置</a></li>
    <?php endif; ?>
    <?php if(App\Components\MenuTools::isShowMenu(['/admin/action/list'])): ?>
    <li <?php if((isset($admin_action_tree_menu) && $admin_action_tree_menu)): ?>class="active" <?php endif; ?>><a href="/admin/action/list"><i class="fa fa-circle-o"></i>操作日志</a></li>
    <?php endif; ?>
    <?php if(App\Components\MenuTools::isShowMenu(['/admin/message/list'])): ?>
    <li <?php if((isset($admin_message_menu) && $admin_message_menu)): ?>class="active" <?php endif; ?>><a href="/admin/message/list"><i class="fa fa-circle-o"></i>消息管理</a></li>
    <?php endif; ?>
    <?php if(App\Components\MenuTools::isShowMenu(['/admin/industry/list'])): ?>
    <li <?php if((isset($admin_industry_menu) && $admin_industry_menu)): ?>class="active" <?php endif; ?>><a href="/admin/industry/list"><i class="fa fa-circle-o"></i>行业管理</a></li>
    <?php endif; ?>
  </ul>
</li>
<?php endif; ?>